home *** CD-ROM | disk | FTP | other *** search
- Decrements or shortens values of variables (MacDOS only).
-
- DECR [+ | -]var [BY {number | string}]
-
- [+|-]var is the name of a variable possibly preceded by a plus
- or minus sign. DECR uses the sign to decide whether to
- operate at the end or at the beginning of the string
- contained in var.
- number is a signed integer number which DECR subtracts from
- var when var is also numeric. When var is not numeric
- and number is positive, DECR removes characters from
- var (when number is negative, DECR adds spaces instead).
- string is a non-numeric string. DECR removes it from var
- regardless of whether var is numeric or not.
-
- Defaults: "DECR var" is equivalent to "DECR +var BY 1"
-